import 'package:equatable/equatable.dart';
import 'package:backend.core/core/domain/entities/api/google_play/api_google_play_transaction_revocation_info.dart';

class ApiGooglePlayOneTimePurchasedItemTransaction extends Equatable {
  const ApiGooglePlayOneTimePurchasedItemTransaction({
    required this.orderId,
    required this.promotional,
    required this.time,
    required this.revocationInfo,
  });

  final String orderId;
  final bool promotional;
  final DateTime time;
  final ApiGooglePlayTransactionRevocationInfo? revocationInfo;

  @override
  List<Object?> get props {
    return [
      orderId,
      promotional,
      time,
      revocationInfo,
    ];
  }
}
